IRIS CLI v1.2.3 — Fix bloqs ingest file upload - #5
Merged
Merged
Conversation
…9973)
CLI was POSTing to /api/v1/user/{id}/bloqs/{id}/files which doesn't exist.
Correct endpoint is /api/v1/cloud-files/upload with user_id and bloq_id
in the form data. Tested with CSV upload — file ID returned successfully.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Fixes iris bloqs ingest uploads by switching from a nonexistent bloqs file route to the platform cloud upload endpoint and sending the required form fields.
Changes:
- Update
iris bloqs ingestto POST to/api/v1/cloud-files/uploadinstead of/api/v1/user/{id}/bloqs/{id}/files - Include
user_idandbloq_idin the multipartFormDatapayload - Bump
packages/opencodeversion to1.2.3
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/opencode/src/cli/cmd/platform-bloqs.ts | Adjusts Bloqs ingest upload request to use the correct endpoint and required form fields. |
| packages/opencode/package.json | Version bump for the CLI release containing the fix. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
mayoalexander
added a commit
that referenced
this pull request
Aug 27, 2026
stats emitted ASCII boxes with no --json option; scripts parsing `iris stats --json` got non-JSON. Build structured JSON via writeJson, reusing the existing aggregateSessionStats payload plus admin-derived metrics.
mayoalexander
added a commit
that referenced
this pull request
Aug 27, 2026
…sktop sidecar (#58) * fix(integrations): address low-severity bugs #12, #16, #17 - #12: replace btoa with secure random nonce in WhatsApp OAuth state - #16: stop swallowing network errors in resolveAccountToIntegrationId - #17: read COMPOSIO_API_KEY at call-time instead of module load * fix(desktop): resolve iris-cli sidecar via Tauri API (fix 'Failed to spawn IRIS Server') * fix(stats): add --json output for machine-readable usage stats (bug #5) stats emitted ASCII boxes with no --json option; scripts parsing `iris stats --json` got non-JSON. Build structured JSON via writeJson, reusing the existing aggregateSessionStats payload plus admin-derived metrics.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
iris bloqs ingestusing nonexistent route/user/{id}/bloqs/{id}/files→ correct/cloud-files/uploaduser_idandbloq_idin form data as the upload endpoint requiresFixes #59973
Test plan
iris bloqs ingest 334 test.csv— uploads successfully, returns File ID🤖 Generated with Claude Code